import React from 'react'
import blankImg from './blank-icon@2x.png'
import './index.scss'

const Empty = props => (
  <div className={`empty ${props.className}`} style={props.style}>
    <img src={blankImg} alt="" />
    <p>{props.text || "no data"}</p>
  </div>
)

Empty.defaultProps = {
  className: '',
  style: {},
}

export default Empty
